﻿using System.Collections.Generic;
using Model;

namespace IDAL
{
    /// <summary>
    /// 部门DAL接口定义
    /// </summary>
    public interface IDepartmentDAL
    {
        //保存部门
        void saveDepartment(Department department);
        //修改部门
        void updateDepartment(Department department);
        //删除部门
        void delDepartment(Department department);
        //部门列表
        IList<Department> getDepartment();
        //部门详细信息
        Department getDepartment(int id);
        //部门详细信息
        Department getDepartment(string name);
    }
}
